package com.xinjian.jianba.dto;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;

public class UserRelationDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5593201824079606409L;

	@Validator(nullable=false,description="用户id")
	private String userId;
	@Validator(nullable=false,description="关联id")
	private String relationId;
	private String relation;
	public String getRelation() {
		return relation;
	}
	public void setRelation(String relation) {
		this.relation = relation;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getRelationId() {
		return relationId;
	}
	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}
	
}
